from typing import List, Dict
from model_mapper import ModelMapper

def get_ollama_models() -> List[Dict]:
    """返回模拟的Ollama模型列表"""
    model_mapper = ModelMapper()
    return [
        {
            "name": model_name,
            "display_name": cloud_name,
            "parameters": {
                "temperature": {"min": 0.1, "max": 2.0},
                "top_p": {"min": 0.1, "max": 1.0}
            },
            "sha256": "fake-sha256-" + model_name[:8]  # 虚拟哈希值
        }
        for model_name, cloud_name in model_mapper.list_ollama_models().items()
    ]